|
|
2.2 | Single Area OSPF Concepts | ||
| 2.2.4 | Shortest path algorithm |
|
The shortest path algorithm is
used by OSPF to determine the best path to a destination.
In this algorithm, the best path is the lowest cost path. The algorithm
was discovered by Dijkstra, a Dutch computer scientist, and was
explained in 1959. The algorithm considers a network to be a set of
nodes connected by point-to-point links.
The shortest path algorithm then
calculates a loop-free topology using the node as the starting point and
examining in turn information it has about adjacent nodes. In
Figure
In the example, node B determined that to get to node F the shortest path has a cost of 5, via node C. All other possible topologies will either have loops or a higher cost paths.
|